package com.easy.bean;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class Order {
    private int orderid;

    private String code;

    private int userid;

    private BigDecimal money;

    private LocalDateTime addtime;

    private LocalDateTime paymenttime;

    private LocalDateTime deliverytime;

    private LocalDateTime gettime;

    private LocalDateTime endtime;

    private int status;

    private LocalDateTime updatetime;

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public LocalDateTime getAddtime() {
        return addtime;
    }

    public void setAddtime(LocalDateTime addtime) {
        this.addtime = addtime;
    }

    public LocalDateTime getPaymenttime() {
        return paymenttime;
    }

    public void setPaymenttime(LocalDateTime paymenttime) {
        this.paymenttime = paymenttime;
    }

    public LocalDateTime getDeliverytime() {
        return deliverytime;
    }

    public void setDeliverytime(LocalDateTime deliverytime) {
        this.deliverytime = deliverytime;
    }

    public LocalDateTime getGettime() {
        return gettime;
    }

    public void setGettime(LocalDateTime gettime) {
        this.gettime = gettime;
    }

    public LocalDateTime getEndtime() {
        return endtime;
    }

    public void setEndtime(LocalDateTime endtime) {
        this.endtime = endtime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public LocalDateTime getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(LocalDateTime updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderid=" + orderid +
                ", code='" + code + '\'' +
                ", userid=" + userid +
                ", money=" + money +
                ", addtime=" + addtime +
                ", paymenttime=" + paymenttime +
                ", deliverytime=" + deliverytime +
                ", gettime=" + gettime +
                ", endtime=" + endtime +
                ", status=" + status +
                ", updatetime=" + updatetime +
                '}';
    }
}
